﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SlickGridNet;
using SlickGridNet.Serialization;

namespace MvcApp.SlickExt
{
	public class DropDownListColumn :SlickColumn
	{
		protected const string OptionsField = "options";
		public DropDownListColumn(string name = null, string id = null, string field = null) : base(name, id, field)
		{
		}

		/// <summary>
		/// Set of options for DropDownList editor.
		/// </summary>
		public IExplicitString DropDownListOptions
		{
			get { return Get(OptionsField) as IExplicitString; }
			set { AddProperty(OptionsField, value); }
		}
	}
}